const path = require("path")

module.exports = {
    mode: 'development',
    devtool: false,
    entry: './src/index.js',
    output: {
        filename: 'toy-vue.js',
        path: path.resolve(__dirname, 'dist'),
        clean: true,
    },
    devServer: {
        static: {
            directory: path.join(__dirname, '/src/examples'),
            watch: true,
        },
        compress: true,
        port: 8080,
        open: true,
    }
}